package include2;

public class Test {
	public static void main(String[] args) {
		Master master = new Master("唐僧");
		//三个徒弟
		Apprentice[] apps = new Apprentice[3];
		apps[0] = new Apprentice("孙悟空","金箍棒");
		apps[1] = new Apprentice("八戒","九齿钉耙");
		apps[2] = new Apprentice("沙和尚","降魔杖");
		// 三个妖怪
		Monster[] mons = new Monster[3];
		mons[0] = new Monster("白骨精");
		mons[1] = new Monster("蜘蛛精");
		mons[2] = new Monster("金角大王");
		
		MonkeyStory ms = new MonkeyStory();
		ms.setMaster(master);
		ms.setApps(apps);
		ms.setMons(mons);
		
		ms.storyStart();
	}
}